home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / BtoCStr < prev    next >
Text File  |  1990-06-22  |  843b  |  67 lines

  1.  
  2.  
  3.  
  4.      BtoCStr(31.0)      ARP Programmers Manual     BtoCStr(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       BtoCStr - Copy a BSTR    to a C null terminated string
  10.  
  11.      SYNOPSIS
  12.       Count    = BtoCStr("CString", BSTR, MaxLength)
  13.         d0              A0      D0      D1
  14.  
  15.      FUNCTION
  16.       This function    copies a BSTR into a null terminated string.
  17.       The BCPL string is passed as an unconverted icky BCPL    ptr.
  18.  
  19.      INPUTS
  20.       CString - Pointer to a buffer    area for the resulting string,
  21.           should be MaxLength+1    bytes in size.
  22.  
  23.       BSTR - BPTR to the BSTR to convert.
  24.  
  25.       MaxLength - Maximum number of    characters in buffer not
  26.           including NULL terminator).
  27.  
  28.      RESULT
  29.       Count    - Actual number    of characters copied.  A0 has START of
  30.           C string for assembly    convenience.
  31.  
  32.      BUGS
  33.       None known
  34.  
  35.      AUTHOR
  36.       CDH
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.